<form id="info-form" method="post">
    <table>
        <input type="hidden" name="id" value="@if(!empty($info)) {{$info['id']}} @endif" />

        <tr>
            <td>开始日期:</td>
            <td>
                <input id="startdate" type="text"  name="startdate" class="easyui-datebox" required="required" value="@if(!empty($info)){{$info['startdate']}}@endif">
            </td>
        </tr>
        <tr>
            <td>结束日期:</td>
            <td>
                <input id="enddate" name="enddate" type="text" class="easyui-datebox" required="required" value="@if(!empty($info)){{$info['enddate']}}@endif">
            </td>
        </tr>
        <tr>
            <td align="right">是否生效:</td>
            <td><input type="text" name="is_active" @if(!empty($info) && $info['is_active']) checked @endif class="easyui-switchbutton" data-options="onText:'是',offText:'否'" /></td>
        </tr>
        <tr>
            <td align="right">是否打开:</td>
            <td><input type="text" name="is_open" @if(!empty($info) && $info['is_open']) checked @endif class="easyui-switchbutton" data-options="onText:'是',offText:'否'" /></td>
        </tr>
    </table>
</form>